/* eslint-disable max-len */
import Mock from 'mockjs'

export function getFieldList() {
  return {
    code: '000000',
    message: 'success',
    data: Mock.mock({
      total: '@integer(40, 500)',
      'records|10': [
        {
          variableId: '@id',
          variableName: '@cword(3, 5)模板',
          variableType: '@pick([1, 2])',
          'usedStrategy|0-10': ['@cword(3, 5)模板'],
          status: '@pick([1, 2])',
          remark: '@csentence()',
          createTime: '@now("yyyy-MM-dd HH:mm:ss")',
          updateTime: '@now("yyyy-MM-dd HH:mm:ss")'
        }
      ]
    })
  }
}

export function getFieldDetail() {
  return {
    code: '000000',
    data: {
      createTime: 1629785197000,
      isDelete: 0,
      jsonData:
        '[{"regex":"","eName":"sdad","name":"电风扇"},{"regex":"","eName":"testVar","name":"测测试"},{"regex":"","eName":"nianyue","name":"年月问问"},{"regex":"","eName":"upload","name":"上传日期"},{"regex":"^[1-9]\\\\d{7}((0\\\\d)|(1[0-2]))(([0|1|2]\\\\d)|3[0-1])\\\\d{3}$|^[1-9]\\\\d{5}[1-9]\\\\d{3}((0\\\\d)|(1[0-2]))(([0|1|2]\\\\d)|3[0-1])\\\\d{3}([0-9]|X)$","eName":"idCard","name":"身份证号"},{"regex":"","eName":"settleD","name":"结清日期"},{"regex":"","eName":"jine","name":"新增金额"},{"regex":"","eName":"morenwenan","name":"测试默认文案"},{"regex":"","eName":"nianyueri","name":"新增日期年月日"},{"regex":"","eName":"score","name":"评分结果"},{"regex":"","eName":"eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","name":"测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试"},{"regex":"^[0-9]*$","eName":"last4BankNum","name":"银行卡后四位"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"remainAmount","name":"剩余金额"},{"regex":"","eName":"smsLink","name":"短信链接"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"minimumPayment","name":"最低还款额"},{"regex":"","eName":"newkkk","name":"新增变量"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"payment","name":"分期还款金额"},{"regex":"^[0-9]*$","eName":"overdueTime","name":"逾期天数"},{"regex":"","eName":"devAddVarTwo","name":"开发新建变量二"},{"regex":"","eName":"znyxshijiu","name":"变量营销十九"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"repayment","name":"还款金额"},{"regex":"","eName":"yueri","name":"新增月日"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"init","name":"自定义金额"},{"regex":"","eName":"znyxshiqi","name":"变量营销十七"},{"regex":"^[0-9]*$","eName":"servicePhone","name":"客服电话"},{"regex":"","eName":"NBX","name":"牛冰鑫"},{"regex":"^(0?[1-9]|1[0-2])$","eName":"remindMonth","name":"提醒月"},{"regex":"","eName":"sasa","name":"飒飒测试"},{"regex":"","eName":"reProduct","name":"拒绝产品名称"},{"regex":"","eName":"znyxshiyi","name":"测试营销十一"},{"regex":"","eName":"refunddate","name":"还款日"},{"regex":"","eName":"ceshiyingwenbianliangmingqqqqqww","name":"测试变量中文名称很长的情况测试测试测试测试测试测试测试测试测试测"},{"regex":"","eName":"cuscall","name":"客户称呼"},{"regex":"","eName":"arrearmoney","name":"欠款金额"},{"regex":"","eName":"pwd","name":"用户密码"},{"regex":"^[0-9]*$","eName":"remainingPeriod","name":"剩余期数"},{"regex":"","eName":"rr","name":"王晓浓的变量"},{"regex":"^(男|女)$","eName":"gender","name":"性别"},{"regex":"^([\\\\u4E00-\\\\u9FA5]|·){1,25}$","eName":"cusName","name":"姓名"},{"regex":"","eName":"ceshiyi","name":"测试一"},{"regex":"^(0?[1-9]|1[0-2])$","eName":"monthTestAdd","name":"新增日期测试"},{"regex":"^(0?[1-9]|1[0-2])$","eName":"yiyiyi","name":"一一一"},{"regex":"","eName":"sd","name":"王晓浓"},{"regex":"^[0-9]*$","eName":"cardNum","name":"卡号"},{"regex":"","eName":"SF","name":"谢测试"},{"regex":"","eName":"loanMoney","name":"贷款金额"},{"regex":"(0?[1-9]|1[0-2])(\\\\-|\\\\/)((0?[1-9])|((1|2)[0-9])|30|31)|(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$","eName":"repaymentDate","name":"还款日期"},{"regex":"","eName":"znyxshisan","name":"测试营销十三"},{"regex":"","eName":"wydtestcl","name":"测试策略实时"},{"regex":"","eName":"lastfournumber","name":"手机后四位"},{"regex":"","eName":"chonggouhuigui","name":"重构回归"},{"regex":"^[0-9]*$","eName":"currentPeriod","name":"当前期数"},{"regex":"","eName":"email","name":"电子邮箱"},{"regex":"","eName":"product","name":"产品名称"},{"regex":"(0?[1-9]|1[0-2])(\\\\-|\\\\/|.)((0?[1-9])|((1|2)[0-9])|30|31)|(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$","eName":"repayTime","name":"每月还款日"},{"regex":"","eName":"wenbenliang","name":"新增文本"},{"regex":"","eName":"znyxshiwu","name":"测试营销十五"},{"regex":"","eName":"shuzi","name":"新增数字"},{"regex":"","eName":"znyxs","name":"测试营销三"},{"regex":"","eName":"znyxy","name":"测试营销一"},{"regex":"","eName":"url","name":"路径"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"remainMoney","name":"剩余欠款金额"},{"regex":"","eName":"znyxw","name":"测试营销五"},{"regex":"","eName":"lastphone","name":"手机号后四位"},{"regex":"","eName":"asd","name":"测试王企鹅"},{"regex":"","eName":"testorder","name":"测试变量"},{"regex":"","eName":"devAddVar","name":"开发新建变量"},{"regex":"(0?[1-9]|1[0-2])(\\\\-|\\\\/)((0?[1-9])|((1|2)[0-9])|30|31)|(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$","eName":"endTime","name":"截止日期"},{"regex":"^(([0-9])|(1\\\\d)|(2[0-4]))$","eName":"repaymentTime","name":"还款时间点"},{"regex":"^(?:(?!0000)[0-9]{4}([-/.]?)(?:(?:0?[1-9]|1[0-2])\\\\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\\\\1(?:29|30)|(?:0?[13578]|1[02])\\\\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\\\\2(?:29))$|(([0-9]{4}(年))(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$)","eName":"date","name":"日期"},{"regex":"","eName":"freestyle","name":"自定义文本"},{"regex":"^(?:(?!0000)[0-9]{4}([-/.]?)(?:(?:0?[1-9]|1[0-2])\\\\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\\\\1(?:29|30)|(?:0?[13578]|1[02])\\\\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\\\\2(?:29))$|(([0-9]{4}(年))(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$)","eName":"ymdTestAdd","name":"新增日期年月日测试"},{"regex":"","eName":"riqiri","name":"新增日期日"},{"regex":"","eName":"chonggouhuiguiceshi","name":"重构回归测试"},{"regex":"","eName":"znyxb","name":"测试营销八"},{"regex":"^[0-9]*$","eName":"phoneNum","name":"手机号"},{"regex":"","eName":"institution","name":"案源机构"},{"regex":"","eName":"znyxl","name":"测试营销六"},{"regex":"","eName":"znyxq","name":"测试营销七"},{"regex":"","eName":"znyxshier","name":"测试营销十二"},{"regex":"","eName":"newemail","name":"新增邮箱"},{"regex":"","eName":"www","name":"测试是是是"},{"regex":"","eName":"znyxe","name":"测试营销二"},{"regex":"","eName":"ceshisan","name":"测试三"},{"regex":"","eName":"znyxj","name":"测试营销九"},{"regex":"","eName":"yuerishifen","name":"新增月日时分"},{"regex":"","eName":"znyxshiliu","name":"变量营销十六"},{"regex":"","eName":"ada","name":"阿三"},{"regex":"","eName":"znyxsi","name":"测试营销四"},{"regex":"","eName":"new","name":"新新新"},{"regex":"","eName":"test","name":"测试"},{"regex":"^[0-9]*$","eName":"telephone","name":"联系电话"},{"regex":"","eName":"nianyuerilei","name":"新增日年月日类型"},{"regex":"([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼]{1}(([A-HJ-Z]{1}[A-HJ-NP-Z0-9]{5})|([A-HJ-Z]{1}(([DF]{1}[A-HJ-NP-Z0-9]{1}[0-9]{4})|([0-9]{5}[DF]{1})))|([A-HJ-Z]{1}[A-D0-9]{1}[0-9]{3}警)))|([0-9]{6}使)|((([沪粤川云桂鄂陕蒙藏黑辽渝]{1}A)|鲁B|闽D|蒙E|蒙H)[0-9]{4}领)|(WJ[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼·•]{1}[0-9]{4}[TDSHBXJ0-9]{1})|([VKHBSLJNGCE]{1}[A-DJ-PR-TVY]{1}[0-9]{5})","eName":"license","name":"车牌号"},{"regex":"^(?:(?!0000)[0-9]{4}([-/.]?)(?:(?:0?[1-9]|1[0-2])\\\\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\\\\1(?:29|30)|(?:0?[13578]|1[02])\\\\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\\\\2(?:29))$|(([0-9]{4}(年))(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$)","eName":"overdueDateDetail","name":"逾期日期"},{"regex":"","eName":"eeeeeeeeeeeeeeeeeeeeeeeeeeeeeerr","name":"中俄"},{"regex":"^(0?[1-9]|1[0-2])$","eName":"month","name":"月份"},{"regex":"","eName":"null","name":"测试没有正则"},{"regex":"","eName":"cusID","name":"客户号"},{"regex":"","eName":"shi","name":"新增时"},{"regex":"^((0?[1-9])|((1|2)[0-9])|30|31)$","eName":"repaymentdayEverymonth","name":"每月还款日"},{"regex":"","eName":"name","name":"好"},{"regex":"","eName":"scoreDate","name":"评分日期"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"repaymentAmount","name":"还款金额"},{"regex":"","eName":"deva","name":"研发测试啊"},{"regex":"","eName":"groupType","name":"场景类型"},{"regex":"","eName":"devb","name":"研发测试去"},{"regex":"","eName":"dscfd","name":"测试剋把"},{"regex":"","eName":"sdfsd","name":"从"},{"regex":"","eName":"yue","name":"新增月"},{"regex":"","eName":"link","name":"短信链接最新"},{"regex":"","eName":"bankName","name":"银行名称"},{"regex":"","eName":"testnianyue","name":"测试年月"},{"regex":"","eName":"cold","name":"冷冷冷"},{"regex":"","eName":"znyxershi","name":"变量营销二十"},{"regex":"","eName":"znyxshi","name":"测试营销十"},{"regex":"","eName":"carType","name":"车型"},{"regex":"","eName":"hahaha","name":"测试随机"},{"regex":"","eName":"ceshier","name":"测试二"},{"regex":"","eName":"devtest","name":"研发测试"},{"regex":"","eName":"hsjiang","name":"花生酱"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"overdueMoney","name":"逾期金额"},{"regex":"(^[1-9]{1}[0-9]*$)|(^[0-9]*\\\\.(([0-9]{2}$)|([0-9]{1}$)))","eName":"lend","name":"借款金额"},{"regex":"","eName":"recommendProd","name":"推荐产品名称"},{"regex":"","eName":"textTestAdd","name":"新增文本测试"},{"regex":"","eName":"go","name":"回归"},{"regex":"","eName":"wcesss","name":"测试呜呜呜呜"},{"regex":"","eName":"znyxshisi","name":"测试营销十四"},{"regex":"(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)([01]\\\\d|2[0-3])(时)([0-5]\\\\d)(分)$","eName":"inTime","name":"进件时间"},{"regex":"\\\\d{3}([0-9]|X|x){1}$","eName":"IDlast4","name":"身份证号后四位"},{"regex":"","eName":"wrr","name":"王晓浓新变量"},{"regex":"","eName":"wenben","name":"新增日期年月日类型变量"},{"regex":"","eName":"location","name":"地点"},{"regex":"","eName":"znyxshiba","name":"变流营销十八"},{"regex":"","eName":"tyty","name":"涂鸦跳跃"},{"regex":"","eName":"he","name":"呵呵"},{"regex":"","eName":"qwe","name":"变量"},{"regex":"","eName":"taskId","name":"业务标识"},{"regex":"","eName":"instituteTwo","name":"案源机构2"},{"regex":"","eName":"dsfsd","name":"水电费"}]',
      operatorName: 'admin',
      outboundCallProcess:
        '[{"name":"通话状态","eName":"dropStatus"},{"name":"已接通次数","eName":"connectedTimes"},{"name":"意向等级","eName":"intentionGrade"},{"name":"通话轮次","eName":"dialRounds"},{"name":"上轮客户标签","eName":"customerPreLabel"},{"name":"客户全部标签","eName":"customerAllLabel"},{"name":"已拨打次数","eName":"calledTimes"},{"name":"外呼时间间隔","eName":"recallInterval"},{"name":"黑名单","eName":"blackList"},{"name":"短信发送次数","eName":"smsSentTimes"},{"name":"运营商","eName":"operators"}]',
      status: 1,
      updateTime: 1629785197000,
      variableCode: 'Template1629785197148',
      variableId: 199,
      variableName: '全量字段测试',
      variableType: 2
    },
    message: '成功'
  }
}

export function getAllFields() {
  return {
    code: '000000',
    data: [
      {
        regex: '',
        varCnName: '电风扇',
        varEnName: 'sdad'
      },
      {
        regex: '',
        varCnName: '测测试',
        varEnName: 'testVar'
      },
      {
        regex: '',
        varCnName: '年月问问',
        varEnName: 'nianyue'
      },
      {
        regex: '',
        varCnName: '上传日期',
        varEnName: 'upload'
      },
      {
        regex:
          '^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}$|^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9]|X)$',
        varCnName: '身份证号',
        varEnName: 'idCard'
      },
      {
        regex: '',
        varCnName: '结清日期',
        varEnName: 'settleD'
      },
      {
        regex: '',
        varCnName: '新增金额',
        varEnName: 'jine'
      },
      {
        regex: '',
        varCnName: '测试默认文案',
        varEnName: 'morenwenan'
      },
      {
        regex: '',
        varCnName: '新增日期年月日',
        varEnName: 'nianyueri'
      },
      {
        regex: '',
        varCnName: '评分结果',
        varEnName: 'score'
      },
      {
        regex: '',
        varCnName: '测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试',
        varEnName: 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '银行卡后四位',
        varEnName: 'last4BankNum'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '剩余金额',
        varEnName: 'remainAmount'
      },
      {
        regex: '',
        varCnName: '短信链接',
        varEnName: 'smsLink'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '最低还款额',
        varEnName: 'minimumPayment'
      },
      {
        regex: '',
        varCnName: '新增变量',
        varEnName: 'newkkk'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '分期还款金额',
        varEnName: 'payment'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '逾期天数',
        varEnName: 'overdueTime'
      },
      {
        regex: '',
        varCnName: '开发新建变量二',
        varEnName: 'devAddVarTwo'
      },
      {
        regex: '',
        varCnName: '变量营销十九',
        varEnName: 'znyxshijiu'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '还款金额',
        varEnName: 'repayment'
      },
      {
        regex: '',
        varCnName: '新增月日',
        varEnName: 'yueri'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '自定义金额',
        varEnName: 'init'
      },
      {
        regex: '',
        varCnName: '变量营销十七',
        varEnName: 'znyxshiqi'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '客服电话',
        varEnName: 'servicePhone'
      },
      {
        regex: '',
        varCnName: '牛冰鑫',
        varEnName: 'NBX'
      },
      {
        regex: '^(0?[1-9]|1[0-2])$',
        varCnName: '提醒月',
        varEnName: 'remindMonth'
      },
      {
        regex: '',
        varCnName: '飒飒测试',
        varEnName: 'sasa'
      },
      {
        regex: '',
        varCnName: '拒绝产品名称',
        varEnName: 'reProduct'
      },
      {
        regex: '',
        varCnName: '测试营销十一',
        varEnName: 'znyxshiyi'
      },
      {
        regex: '',
        varCnName: '还款日',
        varEnName: 'refunddate'
      },
      {
        regex: '',
        varCnName: '测试变量中文名称很长的情况测试测试测试测试测试测试测试测试测试测',
        varEnName: 'ceshiyingwenbianliangmingqqqqqww'
      },
      {
        regex: '',
        varCnName: '客户称呼',
        varEnName: 'cuscall'
      },
      {
        regex: '',
        varCnName: '欠款金额',
        varEnName: 'arrearmoney'
      },
      {
        regex: '',
        varCnName: '用户密码',
        varEnName: 'pwd'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '剩余期数',
        varEnName: 'remainingPeriod'
      },
      {
        regex: '',
        varCnName: '王晓浓的变量',
        varEnName: 'rr'
      },
      {
        regex: '^(男|女)$',
        varCnName: '性别',
        varEnName: 'gender'
      },
      {
        regex: '^([\\u4E00-\\u9FA5]|·){1,25}$',
        varCnName: '姓名',
        varEnName: 'cusName'
      },
      {
        regex: '',
        varCnName: '测试一',
        varEnName: 'ceshiyi'
      },
      {
        regex: '^(0?[1-9]|1[0-2])$',
        varCnName: '新增日期测试',
        varEnName: 'monthTestAdd'
      },
      {
        regex: '^(0?[1-9]|1[0-2])$',
        varCnName: '一一一',
        varEnName: 'yiyiyi'
      },
      {
        regex: '',
        varCnName: '王晓浓',
        varEnName: 'sd'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '卡号',
        varEnName: 'cardNum'
      },
      {
        regex: '',
        varCnName: '谢测试',
        varEnName: 'SF'
      },
      {
        regex: '',
        varCnName: '贷款金额',
        varEnName: 'loanMoney'
      },
      {
        regex:
          '(0?[1-9]|1[0-2])(\\-|\\/)((0?[1-9])|((1|2)[0-9])|30|31)|(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$',
        varCnName: '还款日期',
        varEnName: 'repaymentDate'
      },
      {
        regex: '',
        varCnName: '测试营销十三',
        varEnName: 'znyxshisan'
      },
      {
        regex: '',
        varCnName: '测试策略实时',
        varEnName: 'wydtestcl'
      },
      {
        regex: '',
        varCnName: '手机后四位',
        varEnName: 'lastfournumber'
      },
      {
        regex: '',
        varCnName: '重构回归',
        varEnName: 'chonggouhuigui'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '当前期数',
        varEnName: 'currentPeriod'
      },
      {
        regex: '',
        varCnName: '电子邮箱',
        varEnName: 'email'
      },
      {
        regex: '',
        varCnName: '产品名称',
        varEnName: 'product'
      },
      {
        regex:
          '(0?[1-9]|1[0-2])(\\-|\\/|.)((0?[1-9])|((1|2)[0-9])|30|31)|(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$',
        varCnName: '每月还款日',
        varEnName: 'repayTime'
      },
      {
        regex: '',
        varCnName: '新增文本',
        varEnName: 'wenbenliang'
      },
      {
        regex: '',
        varCnName: '测试营销十五',
        varEnName: 'znyxshiwu'
      },
      {
        regex: '',
        varCnName: '新增数字',
        varEnName: 'shuzi'
      },
      {
        regex: '',
        varCnName: '测试营销三',
        varEnName: 'znyxs'
      },
      {
        regex: '',
        varCnName: '测试营销一',
        varEnName: 'znyxy'
      },
      {
        regex: '',
        varCnName: '路径',
        varEnName: 'url'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '剩余欠款金额',
        varEnName: 'remainMoney'
      },
      {
        regex: '',
        varCnName: '测试营销五',
        varEnName: 'znyxw'
      },
      {
        regex: '',
        varCnName: '手机号后四位',
        varEnName: 'lastphone'
      },
      {
        regex: '',
        varCnName: '测试王企鹅',
        varEnName: 'asd'
      },
      {
        regex: '',
        varCnName: '测试变量',
        varEnName: 'testorder'
      },
      {
        regex: '',
        varCnName: '开发新建变量',
        varEnName: 'devAddVar'
      },
      {
        regex:
          '(0?[1-9]|1[0-2])(\\-|\\/)((0?[1-9])|((1|2)[0-9])|30|31)|(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$',
        varCnName: '截止日期',
        varEnName: 'endTime'
      },
      {
        regex: '^(([0-9])|(1\\d)|(2[0-4]))$',
        varCnName: '还款时间点',
        varEnName: 'repaymentTime'
      },
      {
        regex:
          '^(?:(?!0000)[0-9]{4}([-/.]?)(?:(?:0?[1-9]|1[0-2])\\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\\1(?:29|30)|(?:0?[13578]|1[02])\\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\\2(?:29))$|(([0-9]{4}(年))(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$)',
        varCnName: '日期',
        varEnName: 'date'
      },
      {
        regex: '',
        varCnName: '自定义文本',
        varEnName: 'freestyle'
      },
      {
        regex:
          '^(?:(?!0000)[0-9]{4}([-/.]?)(?:(?:0?[1-9]|1[0-2])\\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\\1(?:29|30)|(?:0?[13578]|1[02])\\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\\2(?:29))$|(([0-9]{4}(年))(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$)',
        varCnName: '新增日期年月日测试',
        varEnName: 'ymdTestAdd'
      },
      {
        regex: '',
        varCnName: '新增日期日',
        varEnName: 'riqiri'
      },
      {
        regex: '',
        varCnName: '重构回归测试',
        varEnName: 'chonggouhuiguiceshi'
      },
      {
        regex: '',
        varCnName: '测试营销八',
        varEnName: 'znyxb'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '手机号',
        varEnName: 'phoneNum'
      },
      {
        regex: '',
        varCnName: '案源机构',
        varEnName: 'institution'
      },
      {
        regex: '',
        varCnName: '测试营销六',
        varEnName: 'znyxl'
      },
      {
        regex: '',
        varCnName: '测试营销七',
        varEnName: 'znyxq'
      },
      {
        regex: '',
        varCnName: '测试营销十二',
        varEnName: 'znyxshier'
      },
      {
        regex: '',
        varCnName: '新增邮箱',
        varEnName: 'newemail'
      },
      {
        regex: '',
        varCnName: '测试是是是',
        varEnName: 'www'
      },
      {
        regex: '',
        varCnName: '测试营销二',
        varEnName: 'znyxe'
      },
      {
        regex: '',
        varCnName: '测试三',
        varEnName: 'ceshisan'
      },
      {
        regex: '',
        varCnName: '测试营销九',
        varEnName: 'znyxj'
      },
      {
        regex: '',
        varCnName: '新增月日时分',
        varEnName: 'yuerishifen'
      },
      {
        regex: '',
        varCnName: '变量营销十六',
        varEnName: 'znyxshiliu'
      },
      {
        regex: '',
        varCnName: '阿三',
        varEnName: 'ada'
      },
      {
        regex: '',
        varCnName: '测试营销四',
        varEnName: 'znyxsi'
      },
      {
        regex: '',
        varCnName: '新新新',
        varEnName: 'new'
      },
      {
        regex: '',
        varCnName: '测试',
        varEnName: 'test'
      },
      {
        regex: '^[0-9]*$',
        varCnName: '联系电话',
        varEnName: 'telephone'
      },
      {
        regex: '',
        varCnName: '新增日年月日类型',
        varEnName: 'nianyuerilei'
      },
      {
        regex:
          '([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼]{1}(([A-HJ-Z]{1}[A-HJ-NP-Z0-9]{5})|([A-HJ-Z]{1}(([DF]{1}[A-HJ-NP-Z0-9]{1}[0-9]{4})|([0-9]{5}[DF]{1})))|([A-HJ-Z]{1}[A-D0-9]{1}[0-9]{3}警)))|([0-9]{6}使)|((([沪粤川云桂鄂陕蒙藏黑辽渝]{1}A)|鲁B|闽D|蒙E|蒙H)[0-9]{4}领)|(WJ[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼·•]{1}[0-9]{4}[TDSHBXJ0-9]{1})|([VKHBSLJNGCE]{1}[A-DJ-PR-TVY]{1}[0-9]{5})',
        varCnName: '车牌号',
        varEnName: 'license'
      },
      {
        regex:
          '^(?:(?!0000)[0-9]{4}([-/.]?)(?:(?:0?[1-9]|1[0-2])\\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\\1(?:29|30)|(?:0?[13578]|1[02])\\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\\2(?:29))$|(([0-9]{4}(年))(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)$)',
        varCnName: '逾期日期',
        varEnName: 'overdueDateDetail'
      },
      {
        regex: '',
        varCnName: '中俄',
        varEnName: 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeerr'
      },
      {
        regex: '^(0?[1-9]|1[0-2])$',
        varCnName: '月份',
        varEnName: 'month'
      },
      {
        regex: '',
        varCnName: '测试没有正则',
        varEnName: 'null'
      },
      {
        regex: '',
        varCnName: '客户号',
        varEnName: 'cusID'
      },
      {
        regex: '',
        varCnName: '新增时',
        varEnName: 'shi'
      },
      {
        regex: '^((0?[1-9])|((1|2)[0-9])|30|31)$',
        varCnName: '每月还款日',
        varEnName: 'repaymentdayEverymonth'
      },
      {
        regex: '',
        varCnName: '好',
        varEnName: 'name'
      },
      {
        regex: '',
        varCnName: '评分日期',
        varEnName: 'scoreDate'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '还款金额',
        varEnName: 'repaymentAmount'
      },
      {
        regex: '',
        varCnName: '研发测试啊',
        varEnName: 'deva'
      },
      {
        regex: '',
        varCnName: '场景类型',
        varEnName: 'groupType'
      },
      {
        regex: '',
        varCnName: '研发测试去',
        varEnName: 'devb'
      },
      {
        regex: '',
        varCnName: '测试剋把',
        varEnName: 'dscfd'
      },
      {
        regex: '',
        varCnName: '从',
        varEnName: 'sdfsd'
      },
      {
        regex: '',
        varCnName: '新增月',
        varEnName: 'yue'
      },
      {
        regex: '',
        varCnName: '短信链接最新',
        varEnName: 'link'
      },
      {
        regex: '',
        varCnName: '银行名称',
        varEnName: 'bankName'
      },
      {
        regex: '',
        varCnName: '测试年月',
        varEnName: 'testnianyue'
      },
      {
        regex: '',
        varCnName: '冷冷冷',
        varEnName: 'cold'
      },
      {
        regex: '',
        varCnName: '变量营销二十',
        varEnName: 'znyxershi'
      },
      {
        regex: '',
        varCnName: '测试营销十',
        varEnName: 'znyxshi'
      },
      {
        regex: '',
        varCnName: '车型',
        varEnName: 'carType'
      },
      {
        regex: '',
        varCnName: '测试随机',
        varEnName: 'hahaha'
      },
      {
        regex: '',
        varCnName: '测试二',
        varEnName: 'ceshier'
      },
      {
        regex: '',
        varCnName: '研发测试',
        varEnName: 'devtest'
      },
      {
        regex: '',
        varCnName: '花生酱',
        varEnName: 'hsjiang'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '逾期金额',
        varEnName: 'overdueMoney'
      },
      {
        regex: '(^[1-9]{1}[0-9]*$)|(^[0-9]*\\.(([0-9]{2}$)|([0-9]{1}$)))',
        varCnName: '借款金额',
        varEnName: 'lend'
      },
      {
        regex: '',
        varCnName: '推荐产品名称',
        varEnName: 'recommendProd'
      },
      {
        regex: '',
        varCnName: '新增文本测试',
        varEnName: 'textTestAdd'
      },
      {
        regex: '',
        varCnName: '回归',
        varEnName: 'go'
      },
      {
        regex: '',
        varCnName: '测试呜呜呜呜',
        varEnName: 'wcesss'
      },
      {
        regex: '',
        varCnName: '测试营销十四',
        varEnName: 'znyxshisi'
      },
      {
        regex:
          '(0?[1-9]|1[0-2])(月)((0?[1-9])|((1|2)[0-9])|30|31)(日)([01]\\d|2[0-3])(时)([0-5]\\d)(分)$',
        varCnName: '进件时间',
        varEnName: 'inTime'
      },
      {
        regex: '\\d{3}([0-9]|X|x){1}$',
        varCnName: '身份证号后四位',
        varEnName: 'IDlast4'
      },
      {
        regex: '',
        varCnName: '王晓浓新变量',
        varEnName: 'wrr'
      },
      {
        regex: '',
        varCnName: '新增日期年月日类型变量',
        varEnName: 'wenben'
      },
      {
        regex: '',
        varCnName: '地点',
        varEnName: 'location'
      },
      {
        regex: '',
        varCnName: '变流营销十八',
        varEnName: 'znyxshiba'
      },
      {
        regex: '',
        varCnName: '涂鸦跳跃',
        varEnName: 'tyty'
      },
      {
        regex: '',
        varCnName: '呵呵',
        varEnName: 'he'
      },
      {
        regex: '',
        varCnName: '变量',
        varEnName: 'qwe'
      },
      {
        regex: '',
        varCnName: '业务标识',
        varEnName: 'taskId'
      },
      {
        regex: '',
        varCnName: '案源机构2',
        varEnName: 'instituteTwo'
      },
      {
        regex: '',
        varCnName: '水电费',
        varEnName: 'dsfsd'
      }
    ],
    message: '成功'
  }
}

export function getTypeFields() {
  return {
    code: '000000',
    data: {
      createTime: 1621568097000,
      fieldCount: 9,
      isDelete: 0,
      jsonData:
        '[{"variableType":"enums","enumsData":[{"label":"已接听","value":"已接听"},{"label":"空号","value":"空号"},{"label":"关机","value":"关机"},{"label":"停机","value":"停机"},{"label":"无人接听","value":"无人接听"},{"label":"无法接通","value":"无法接通"},{"label":"通话中","value":"通话中"},{"label":"呼叫失败","value":"呼叫失败"},{"label":"来电提醒","value":"来电提醒"},{"label":"用户挂断","value":"用户挂断"},{"label":"号码有误/不存在","value":"号码有误/不存在"},{"label":"黑名单","value":"黑名单"},{"label":"呼叫限制","value":"呼叫限制"},{"label":"无需拨打","value":"无需拨打"},{"label":"接通限制","value":"接通限制"}],"eName":"dropStatus","name":"通话状态"},{"variableType":"number","enumsData":[],"eName":"connectedTimes","name":"已接通次数"},{"variableType":"enums","enumsData":[{"label":"A级(有明确意向)","value":"A"},{"label":"B级(可能有意向)","value":"B"},{"label":"C级(明确拒绝)","value":"C"},{"label":"D级(用户忙)","value":"D"},{"label":"E级(拨打失败)","value":"E"},{"label":"F级(无效客户)","value":"F"}],"eName":"intentionGrade","name":"意向等级"},{"variableType":"number","enumsData":[],"eName":"dialRounds","name":"通话轮次"},{"variableType":"string","enumsData":[],"eName":"customerPreLabel","name":"上轮客户标签"},{"variableType":"string","enumsData":[],"eName":"customerAllLabel","name":"客户全部标签"},{"variableType":"number","enumsData":[],"eName":"calledTimes","name":"已拨打次数"},{"variableType":"number","enumsData":[],"eName":"recallInterval","name":"外呼时间间隔"},{"variableType":"enums","enumsData":[{"label":"否","value":"0"},{"label":"是","value":"1"}],"eName":"blackList","name":"黑名单"},{"variableType":"number","enumsData":[],"eName":"smsSentTimes","name":"短信发送次数"},{"variableType":"enums","enumsData":[{"label":"移动","value":"移动"},{"label":"电信","value":"电信"},{"label":"联通","value":"联通"},{"label":"未知","value":"未知"}],"eName":"operators","name":"运营商"},{"variableType":"enums","enumsData":[{"label":"北京市","value":"110000"},{"label":"天津市","value":"120000"},{"label":"河北省","value":"130000"},{"label":"山西省","value":"140000"},{"label":"内蒙古自治区","value":"150000"},{"label":"辽宁省","value":"210000"},{"label":"吉林省","value":"220000"},{"label":"黑龙江省","value":"230000"},{"label":"上海市","value":"310000"},{"label":"江苏省","value":"320000"},{"label":"浙江省","value":"330000"},{"label":"安徽省","value":"340000"},{"label":"福建省","value":"350000"},{"label":"江西省","value":"360000"},{"label":"山东省","value":"370000"},{"label":"河南省","value":"410000"},{"label":"湖北省","value":"420000"},{"label":"湖南省","value":"430000"},{"label":"广东省","value":"440000"},{"label":"广西壮族自治区","value":"450000"},{"label":"海南省","value":"460000"},{"label":"重庆市","value":"500000"},{"label":"四川省","value":"510000"},{"label":"贵州省","value":"520000"},{"label":"云南省","value":"530000"},{"label":"西藏自治区","value":"540000"},{"label":"陕西省","value":"610000"},{"label":"甘肃省","value":"620000"},{"label":"青海省","value":"630000"},{"label":"宁夏回族自治区","value":"640000"},{"label":"新疆维吾尔自治区","value":"650000"},{"label":"台湾省","value":"710000"},{"label":"香港特别行政区","value":"810000"},{"label":"澳门特别行政区","value":"820000"}],"eName":"locationsProvince","name":"归属地省份"}]',
      operatorName: 'admin',
      remark: '',
      status: 1,
      updateTime: 1629798372000,
      variableCode: 'Outbound1611734992496',
      variableId: 1,
      variableName: '拨打数据字段模板',
      variableType: 1
    },
    message: '成功'
  }
}

export function checkNameExists() {
  return {
    code: '000000',
    data: false,
    message: '成功'
  }
}

export function addField() {
  return {
    code: '000000',
    data: true,
    message: '成功'
  }
}

export function updateField() {
  return {
    code: '000000',
    data: true,
    message: '成功'
  }
}

export function changeStatus() {
  return {
    code: '000000',
    data: true,
    message: '成功'
  }
}

export function deleteField() {
  return {
    code: '000000',
    data: true,
    message: '成功'
  }
}
